package com.yidu.qianfeng.common.bean.transport;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yidu.qianfeng.common.bean.Vehicle.CarInfo;
import com.yidu.qianfeng.common.bean.shunt.CarLoading;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 运输协议表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("table_trans_protocol")
public class TransportProtocol {

 /*装车表 对象*/
 private TruckLoading truckLoading;
 /*车辆信息 对象 */
 private CarInfo carInfo;
 @TableId("trans_num")
    private String transNum;                 //运输单号
    private int transCarloadSeqNum;       // 运输装车序号
    private String transCarNumber;            //运输车号
    private String transDepartDate;         //发车日期
    private String transStarting;             //运输出发地
    private String transReachCity;               //运输到达城市
    private String transReachSubstation;          //运输到达分站
    private String transReceivingCom;            //运输收货单位
    private String transReveivingPers;          // 运输收货人
    private String transReveivingPhone;        // 收货人联系电话
    private String transReveivingAddress;        // 运输收货地址
    private String transPromiseDate;             //运输承诺日期
    private String transCarloadList;             // 运输装车清单
    private double transFreightTotal;         // 运费合计
    private String transpayment;              //支付方式
    private double transCashpay;                //现付
    private double transBackPay;               //回付
    private double transSubstationPay;         //分站支付
    private String transBillingperson;          //运输协议/开单员
}
